package com.eshipenet.shipnet.shiprpc.service;

import com.eshipenet.shipnet.ship.FindAllResult;
import com.eshipenet.shipnet.ship.Ship;
import org.apache.ignite.services.Service;
import squirrel.JSONQuery;

public interface ShipService extends Service {
    FindAllResult findAll(JSONQuery jsonQuery, int limit, int offset);
    Ship createOne(Ship ship);
    Ship updateOne(String id, Ship ship);
    Ship deleteOne(String id);
    int getShipCountById(String id);
}
